
import { request } from "@/utils/request";
// 首页轮播图
export const IndexBannerApi = () => request("/index/banners/travel");

// 游记列表
export const TravelsListApi = (num) =>
  request(`/travels/query?orderType=${num}`);

// 用户登录
export const UserLoginApi = (params) => request("/users/login", params);

// 目的地
export const DestinationApi = (params) => request("/destinations/hotRegion", params);

// 目的地下的层级
export const TierApi = (id) => request(`/destinations/search?regionId=${id}`);

// 攻略主题
export const ThemeApi = () => request(`/strategies/themes`);

// 攻略列表
export const QueryApi = (id,page) => request(`/strategies/query?themeId=${id}&currentPage=${page}`);










